﻿@model INSE6260.OnlineBanking.Model.Payee.Payee

@{
    ViewBag.Title = "Delete Payee";
}

<h2>Delete Payee</h2>

<h3>@Html.DisplayFor(model => model.Client.FirstName)! Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Payee</legend>

    <div class="display-label">PayeeName:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PayeeName.Name)
    </div>

    <div class="display-label">NickName:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NickName)
    </div>

    <div class="display-label">AccountNo:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AccountNo)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Cancel", "Index", "PayeeInfo", null, new { @class = "khbtn" })
    </p>
}
